<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="" novalidate>
        <label for="name">姓名</label>
        <input type="text" name="name" autocomplete="off" required  pattern="[\u4e00-\u9fa5]{2,4}">
        <br>
        <label for="Gender">姓别</label>
        <input type="radio" name="Gender" >男
        <input type="radio" name="Gender" >女
        <br>

        <label for="studenCode">学号</label>
        <!--
            <input type="text"  name="studenCode" name="studenCode"autocomplete="off" pattern="1[0-9]{7}or20[0-9]{6}">
        -->
        <input type="number" name="studenCode" min="10000000" max="21000000">
        <br>
        <label for="password" name="password">密码</label>
        <input type="password" name="password" >
        <br>
        <label for="gradeClass">班级</label>
        <input type="text" name="studenCode" autocomplete="off">
        <br>
        <label for="hobby">兴趣爱好</label>
        <input type="checkbox" name="hobby" value="足球">足球
        <input type="checkbox" name="hobby" value="排球">排球
        <input type="checkbox" name="hobby" value="篮球">篮球
        <input type="checkbox" name="hobby" value="乒乓球">乒乓球
        <br>
        <input type="submit">
    </form>
</body>
</html>